
#main

internal fib_generator(num = 9) {
	a = 0
	b = 1
	for i = 0 to num {
		c = b
		b = a + b
		a = c
		yield a
	}
}

for k,v in fib_generator() {
	echo "$k ==> $v"
}
